<?php


Route::get('ecommerce',array('as' =>'ecommerce',     'uses' => 'App\Modules\Ecommerce\Controllers\IndexController@getHome'));


Route::get('ecommerce/category/index',array('as' =>'ecommerce/category/index', 'uses' => 'App\Modules\Ecommerce\Controllers\CategoryController@getIndex'));

Route::get('ecommerce/product/index',array('as' =>'ecommerce/product/index', 'uses' => 'App\Modules\Ecommerce\Controllers\ProductController@getIndex'));

/*
Route::get("ecommerce/product/index", [
    "as"   => "ecommerce/product/index",
    "uses" => "App\Modules\Ecommerce\Controllers\ProductController@getIndex"
]);*/

//Route::get('ecommerce/product/index',array('as' =>'ecommerce/product/index',     'uses' => 'App\Modules\Ecommerce\Controllers\ProductController@getIndex'));
/*
Route::any("ecommerce/product/index", [
    "as"   => "ecommerce/product/index",
    "uses" => "App\Modules\Ecommerce\Controllers\ProductController@indexAction"
]);

/*
Route::any('ecommerce/product/index', function()
{
    return 'OAP';
});*/
/*
Route::get("ecommerce/product/index", function(){
    return "helllo";
});*/